package com.sky.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @ClassNameMyTask
 * @Description TODO
 * @Author钰玟
 * @Date2025/2/17 下午1:38
 * @Version 1.0
 **/
//@Component
//@Slf4j
public class MyTask {

//    @Scheduled(cron = "0/5 * * * * ?")
//    public void task() {
//        log.info("执行定时任务,{}", LocalDateTime.now());
//    }
}
